﻿using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Regions;
using YunBox2.Contracts;
using YunBox2.Contracts.Core;

namespace YunBox2.Client
{
    [Export(typeof (MainViewModel))]
    public class MainViewModel : DomainObject
    {
        private readonly IEventAggregator _eventAggregator;
        private readonly IRegionManager _regionManager;

        [ImportingConstructor]
        public MainViewModel(IRegionManager regionManager, IEventAggregator eventAggregator)
        {
            _regionManager = regionManager;
            _eventAggregator = eventAggregator;
        }
    }
}